/*******************************************************************************
 * Copyright (c) 2009-2011 ETCORE Labs. All rights reserved. 
 * 
 * This software is the confidential and proprietary information of ETCORE Labs.
 * You shall not disclose such confidential information and shall use it
 * only in accordance with the terms of the license agreement you entered into
 * with ETCORE Labs. 
 * 
 * Support can be obtained from support forums at:  http://www.etcore.com/
 * /
 *******************************************************************************/
package etcore.webapp.grouptalk.common.object;

/**
 * An instance of Group is a persistence object representing a group. Group is a
 * container of topics,messages,tags and users.
 * 
 * @author ETCORE GroupTalk Developers
 * 
 */
public class Group implements java.io.Serializable {

	private static final long serialVersionUID = 2275241261015330375L;

	private Integer id;

	private String name;

	private String info; // brief introduction

	private String notice; // memo for the group

	private String time;

	private String pic; // group LOGO

	private Integer local = 1; // controls whether it is shown in local language

	private Integer en = 1; // controls whether it is shown in English language

	private Integer nav = 0; // controls whether it is for site logistics

	private Integer open;// controls to which platform it belongs

	private Integer up; // controls the rank value

	private Integer func;
	public static final String ROOTS = "roots"; // group of administrators

	/** default constructor */
	public Group() {
		this.open = 0;
		this.up = 0;
		this.func = 0;
	}

	public Integer getNav() {
		return nav;
	}

	public void setNav(Integer nav) {
		this.nav = nav;
	}

	public Integer getLocal() {
		return local;
	}

	public void setLocal(Integer local) {
		this.local = local;
	}

	public Integer getEn() {
		return en;
	}

	public void setEn(Integer en) {
		this.en = en;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getInfo() {
		return this.info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public String getNotice() {
		return this.notice;
	}

	public void setNotice(String notice) {
		this.notice = notice;
		;
	}

	public String getTime() {
		return this.time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getPic() {
		return this.pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public Integer getOpen() {
		return this.open;
	}

	public void setOpen(Integer open) {
		this.open = open;
	}

	public Integer getUp() {
		return up;
	}

	public void setUp(Integer up) {
		this.up = up;
	}

	public Integer getFunc() {
		return func;
	}

	public void setFunc(Integer func) {
		this.func = func;
	}

}